package cn.lhjl.day04;

 class Body {
    public class Heart{
        public void method(){
            System.out.println(name);
            System.out.println("跳动");
        }
    }
    private String name;
    public void methodBody(){
        class Foot{
            public void show(){
                System.out.println("走路");
            }
        }
        Foot foot = new Foot();
        foot.show();
    }

}
